package com.wzcl.app.service;

import com.wzcl.app.dao.model.AppRole;
import com.wzcl.app.model.common.MyPage;
import com.wzcl.app.model.dto.RoleDto;

import java.util.List;

public interface RoleService{
    AppRole addAppRole(RoleDto roleDto);

    AppRole delAppRoleById(Integer id);

    AppRole updateAppRole(RoleDto roleDto);

    AppRole getAppRoleById(Integer id);

    List<AppRole> getAppRoleList(RoleDto roleDto);

    MyPage<AppRole> getAppRolePage(RoleDto roleDto);
}
